package com.mine.crawler.beans;

public class MySqlDBRelatedCategoryNode
{
	private String category_name;
	private int category_id;
	
	public MySqlDBRelatedCategoryNode(String local_catName, int local_cat_id)
	{
		if(local_catName.startsWith("/"))
			local_catName = local_catName.substring(1);
		setCategory_name(local_catName);
		setCategory_id(local_cat_id);
	}

	public void setCategory_name(String category_name)
	{
		this.category_name = category_name;
	}

	public String getCategory_name()
	{
		return category_name;
	}

	public void setCategory_id(int category_id)
	{
		this.category_id = category_id;
	}

	public int getCategory_id()
	{
		return category_id;
	}

	
}
